package com.example.common.util.constant;

/**
 * @Author juzipi
 * @Date 2021/7/24 11:47
 * @Info order模块常量
 */
public class OrderConstants {


    /**
     * 订单状态 ：
     * 0 已预约,未支付
     * 1 已支付
     * 2 已取号
     * -1 取消预约
     */
    public static final Integer UNPAID = 0;//订单状态
    public static final Integer PAID = 1;//订单状态
    public static final Integer TAKE_NUMBER = 2;//订单状态
    public static final Integer CANCEL_RESERVE = -1;//订单状态


    /**
     * 医院接口参数相关
     */
    public static final String HOSCODE = "hoscode";//医院编号

    public static final String DEPCODE = "depcode";//科室编号

    public static final String HOS_SCHEDULE_ID = "hosScheduleId";

    public static final String RESERVE_DATE = "reserveDate";

    public static final String RESERVE_TIME = "reserveTime";

    public static final String AMOUNT = "amount";

    public static final String NAME = "name";

    public static final String CERTIFICATES_TYPE = "certificatesType";

    public static final String CERTIFICATES_NO = "certificatesNo";

    public static final String SEX = "sex";

    public static final String BIRTHDATE = "birthdate";

    public static final String PHONE = "phone";

    public static final String IS_MARRY = "isMarry";

    public static final String PROVINCE_CODE = "provinceCode";

    public static final String CITY_CODE = "cityCode";

    public static final String DISTRICT_CODE = "districtCode";

    public static final String ADDRESS = "address";

    public static final String CONTACTS_NAME = "contactsName";

    public static final String CONTACTS_CERTIFICATES_TYPE = "contactsCertificatesType";

    public static final String CONTACTS_CERTIFICATES_NO = "contactsCertificatesNo";

    public static final String CONTACTS_PHONE = "contactsPhone";

    public static final String TIMESTAMP = "timestamp";

    public static final String SIGN = "sign";


    /**
     * 订单信息
     */
    public static final String HOS_RECORD_ID = "hosRecordId";//预约记录主键

    public static final String NUMBER = "number";//预约序号

    public static final String FETCH_TIME = "fetchTime";//取号时间

    public static final String FETCH_ADDRESS = "fetchAddress";//取号地址

    public static final String RESERVED_NUMBER = "reservedNumber";//排班可预约数

    public static final String AVAILABLE_NUMBER = "availableNumber";//排班剩余预约数


    /**
     * 短信相关
     */
    public static final String TITLE = "title";//短信标题

    public static final String QUIT_TIME = "quitTime";//退出时间？


    /**
     * 其他
     */
    public static final String ORDER_STATUS_STRING = "orderStatusString";//订单状态String

    public static final String STATUS = "status";//状态

    public static final String COMMENT = "comment";


    /**
     * 微信退款接口
     */
    public static final String APPID = "appid";

    public static final String MCH_ID = "mch_id";

    public static final String NONCE_STR = "nonce_str";

    public static final String TRANSACTION_ID = "transaction_id";

    public static final String OUT_TRADE_NO = "out_trade_no";

    public static final String OUT_REFUND_NO = "out_refund_no";

    public static final String TOTAL_FEE = "total_fee";

    public static final String REFUND_FEE = "refund_fee";

    public static final String TK = "tk";

    public static final String TOTAL_FEE_VALUE = "1";

    public static final String REFUND_FEE_VALUE = "1";

    public static final String RESULT_CODE = "result_code";

    public static final String RESULTCODE = "result_code";

    public static final String REFUND_ID = "refund_id";

    public static final String DATE_LIST = "dateList";

    public static final String COUNT_LIST = "countList";

    public static final String BODY = "body";

    public static final String SPBILL_CREATE_IP = "spbill_create_ip";

    public static final String SPBILL_CREATE_IP_VALUE = "127.0.0.1";

    public static final String NOTIFY_URL = "notify_url";

    public static final String NOTIFY_URL_VALUE = "notify_url";

    public static final String TRADE_TYPE = "trade_type";

    public static final String TRADE_TYPE_VALUE = "NATIVE";

    /**
     * 微信生成二维码结果
     */
    public static final String ORDER_ID = "orderId";

    public static final String CODEURL = "codeUrl";

    public static final String CODE_URL = "code_url";

    public static final String TRADE_STATE = "trade_state";

    public static final String ORDER_INFO = "orderInfo";

    public static final String PATIENT = "patient";
}
